package com.bzkj.document.domain.finishedproduct.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.bzkj.document.domain.BaseBillDetail;
import com.bzkj.document.domain.BaseInfoMap;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;
import java.util.HashMap;

/**
 * @projectName: prt-wms
 * @package: com.bzkj.document.domain.FinishedProduct.vo
 * @className: FinishedProductBodyVo
 * @description: 产成品入库单表体
 * @author: C1309
 * @createDate: 2024年12月25日
 * @version: v1.0
 */
public class FinishedProductBodyVo extends BaseBillDetail {
    private String csourcetranstype;
    private String csourcetype;
    private String vsourcebillcode;
    private String csourcebillhid;
    private String csourcebillbid;
    private String vbatchcodenote;
    private double nvolume;
    private double nweight;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String operatorTime;
    /**
     * 合箱说明
     */
    private String vbdef20;

    /**
     * 产品批号
     */
    @JSONField(name = "vlotno_148")
    @JsonProperty("vlotno_148")
    private String vlotno148;

    @JSONField(name = "vapprovalnumber_148")
    @JsonProperty("vapprovalnumber_148")
    private String vapprovalnumber148;

    @JSONField(name = "cproductid")
    @JsonProperty("cproductid")
    private BaseInfoMap cproductid;

    @JSONField(name = "cvendorid")
    @JsonProperty("cvendorid")
    private BaseInfoMap cvendorid;

    @JSONField(name = "cproductorid")
    @JsonProperty("cproductorid")
    private BaseInfoMap cproductorid;

    /**
     * 注册人/持有人
     */
    @JSONField(name = "pk_holder_148")
    @JsonProperty("pk_holder_148")
    private BaseInfoMap pkHolder148;


    public String getCsourcetranstype() {
        return csourcetranstype;
    }

    public void setCsourcetranstype(String csourcetranstype) {
        this.csourcetranstype = csourcetranstype;
    }

    public String getCsourcetype() {
        return csourcetype;
    }

    public void setCsourcetype(String csourcetype) {
        this.csourcetype = csourcetype;
    }

    public String getVsourcebillcode() {
        return vsourcebillcode;
    }

    public void setVsourcebillcode(String vsourcebillcode) {
        this.vsourcebillcode = vsourcebillcode;
    }

    public String getCsourcebillhid() {
        return csourcebillhid;
    }

    public void setCsourcebillhid(String csourcebillhid) {
        this.csourcebillhid = csourcebillhid;
    }

    public String getCsourcebillbid() {
        return csourcebillbid;
    }

    public void setCsourcebillbid(String csourcebillbid) {
        this.csourcebillbid = csourcebillbid;
    }

    public String getVbatchcodenote() {
        return vbatchcodenote;
    }

    public void setVbatchcodenote(String vbatchcodenote) {
        this.vbatchcodenote = vbatchcodenote;
    }

    public double getNvolume() {
        return nvolume;
    }

    public void setNvolume(double nvolume) {
        this.nvolume = nvolume;
    }

    public double getNweight() {
        return nweight;
    }

    public void setNweight(double nweight) {
        this.nweight = nweight;
    }

    public String getOperatorTime() {
        return operatorTime;
    }

    public void setOperatorTime(String operatorTime) {
        this.operatorTime = operatorTime;
    }

    public String getVbdef20() {
        return vbdef20;
    }

    public void setVbdef20(String vbdef20) {
        this.vbdef20 = vbdef20;
    }

    public String getVlotno148() {
        return vlotno148;
    }

    public void setVlotno148(String vlotno148) {
        this.vlotno148 = vlotno148;
    }

    public String getVapprovalnumber148() {
        return vapprovalnumber148;
    }

    public void setVapprovalnumber148(String vapprovalnumber148) {
        this.vapprovalnumber148 = vapprovalnumber148;
    }

    public BaseInfoMap getCproductid() {
        return cproductid;
    }

    public void setCproductid(BaseInfoMap cproductid) {
        this.cproductid = cproductid;
    }

    public BaseInfoMap getCvendorid() {
        return cvendorid;
    }

    public void setCvendorid(BaseInfoMap cvendorid) {
        this.cvendorid = cvendorid;
    }

    public BaseInfoMap getCproductorid() {
        return cproductorid;
    }

    public void setCproductorid(BaseInfoMap cproductorid) {
        this.cproductorid = cproductorid;
    }

    public BaseInfoMap getPkHolder148() {
        return pkHolder148;
    }

    public void setPkHolder148(BaseInfoMap pkHolder148) {
        this.pkHolder148 = pkHolder148;
    }

    @Override
    public String toString() {
        return "FinishedProductBodyVo{" +
                "csourcetranstype='" + csourcetranstype + '\'' +
                ", csourcetype='" + csourcetype + '\'' +
                ", vsourcebillcode='" + vsourcebillcode + '\'' +
                ", csourcebillhid='" + csourcebillhid + '\'' +
                ", csourcebillbid='" + csourcebillbid + '\'' +
                ", vbatchcodenote='" + vbatchcodenote + '\'' +
                ", nvolume=" + nvolume +
                ", nweight=" + nweight +
                ", operatorTime='" + operatorTime + '\'' +
                ", vbdef20='" + vbdef20 + '\'' +
                ", vlotno148='" + vlotno148 + '\'' +
                ", vapprovalnumber148='" + vapprovalnumber148 + '\'' +
                ", cproductid=" + cproductid +
                ", cvendorid=" + cvendorid +
                ", cproductorid=" + cproductorid +
                ", pkHolder148=" + pkHolder148 +
                "} " + super.toString();
    }
}
